package com.lvmama.core.dao;

import com.lvmama.core.bean.HotelDetail;
import com.lvmama.core.bean.HotelDetailQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HotelDetailDao {
    int countByExample(HotelDetailQuery example);

    int deleteByExample(HotelDetailQuery example);

    int deleteByPrimaryKey(Integer hotelId);

    int insert(HotelDetail record);

    int insertSelective(HotelDetail record);

    List<HotelDetail> selectByExample(HotelDetailQuery example);

    HotelDetail selectByPrimaryKey(Integer hotelId);

    int updateByExampleSelective(@Param("record") HotelDetail record, @Param("example") HotelDetailQuery example);

    int updateByExample(@Param("record") HotelDetail record, @Param("example") HotelDetailQuery example);

    int updateByPrimaryKeySelective(HotelDetail record);

    int updateByPrimaryKey(HotelDetail record);
}